<?php
foreach ($var_menu as $menuEntry) {
    print <<<html
        <a href='{$menuEntry->href}'>{$menuEntry->title}</a>\n
html;
}